package org.big.kafkafinancesimulator.model;

import lombok.Data;

@Data
public class TradeRequest {
    public enum Type { BUY, SELL }
    private String requestId;
    private String userId;
    private Type type;
    private String symbol;
    private int quantity; // 交易数量
    private Double price; // 对于市价单，此值可为null
    private long timestamp;
}
